home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1995 June / MacFormat 25.iso / Shareware City / Developers / OutOfPhase1.1 Source / OutOfPhase Folder / NoteButtonImages.c < prev    next >
Text File  |  1994-08-21  |  67KB  |  1,738 lines

  1. /* NoteButtonImages.c */
  2. /*****************************************************************************/
  3. /*                                                                           */
  4. /*    Out Of Phase:  Digital Music Synthesis on General Purpose Computers    */
  5. /*    Copyright (C) 1994  Thomas R. Lawrence                                 */
  6. /*                                                                           */
  7. /*    This program is free software; you can redistribute it and/or modify   */
  8. /*    it under the terms of the GNU General Public License as published by   */
  9. /*    the Free Software Foundation; either version 2 of the License, or      */
  10. /*    (at your option) any later version.                                    */
  11. /*                                                                           */
  12. /*    This program is distributed in the hope that it will be useful,        */
  13. /*    but WITHOUT ANY WARRANTY; without even the implied warranty of         */
  14. /*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          */
  15. /*    GNU General Public License for more details.                           */
  16. /*                                                                           */
  17. /*    You should have received a copy of the GNU General Public License      */
  18. /*    along with this program; if not, write to the Free Software            */
  19. /*    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.              */
  20. /*                                                                           */
  21. /*    Thomas R. Lawrence can be reached at tomlaw@world.std.com.             */
  22. /*                                                                           */
  23. /*****************************************************************************/
  24.  
  25. #include "MiscInfo.h"
  26. #include "Audit.h"
  27. #include "Debug.h"
  28. #include "Definitions.h"
  29.  
  30. #define Compiling_NoteButtonImages
  31. #include "NoteButtonImages.h"
  32. #include "Screen.h"
  33.  
  34.  
  35. EXECUTE(static MyBoolean        Initialized = False;)
  36.  
  37. Bitmap*                                            ArrowButtonBits;
  38. Bitmap*                                            SixtyFourthButtonBits;
  39. Bitmap*                                            ThirtySecondButtonBits;
  40. Bitmap*                                            SixteenthButtonBits;
  41. Bitmap*                                            EighthButtonBits;
  42. Bitmap*                                            QuarterButtonBits;
  43. Bitmap*                                            HalfButtonBits;
  44. Bitmap*                                            WholeButtonBits;
  45. Bitmap*                                            DoubleButtonBits;
  46. Bitmap*                                            QuadButtonBits;
  47. Bitmap*                                            SharpButtonBits;
  48. Bitmap*                                            FlatButtonBits;
  49. Bitmap*                                            NaturalButtonBits;
  50. Bitmap*                                            NoteVsRestButtonBits;
  51. Bitmap*                                            RestVsNoteButtonBits;
  52. Bitmap*                                            NoDotButtonBits;
  53. Bitmap*                                            YesDotButtonBits;
  54. Bitmap*                                            Div1ButtonBits;
  55. Bitmap*                                            Div3ButtonBits;
  56. Bitmap*                                            Div5ButtonBits;
  57. Bitmap*                                            Div7ButtonBits;
  58. Bitmap*                                            CommandButtonBits;
  59.  
  60. Bitmap*                                            ArrowButtonMouseDownBits;
  61. Bitmap*                                            SixtyFourthButtonMouseDownBits;
  62. Bitmap*                                            ThirtySecondButtonMouseDownBits;
  63. Bitmap*                                            SixteenthButtonMouseDownBits;
  64. Bitmap*                                            EighthButtonMouseDownBits;
  65. Bitmap*                                            QuarterButtonMouseDownBits;
  66. Bitmap*                                            HalfButtonMouseDownBits;
  67. Bitmap*                                            WholeButtonMouseDownBits;
  68. Bitmap*                                            DoubleButtonMouseDownBits;
  69. Bitmap*                                            QuadButtonMouseDownBits;
  70. Bitmap*                                            SharpButtonMouseDownBits;
  71. Bitmap*                                            FlatButtonMouseDownBits;
  72. Bitmap*                                            NaturalButtonMouseDownBits;
  73. Bitmap*                                            NoteVsRestButtonMouseDownBits;
  74. Bitmap*                                            RestVsNoteButtonMouseDownBits;
  75. Bitmap*                                            NoDotButtonMouseDownBits;
  76. Bitmap*                                            YesDotButtonMouseDownBits;
  77. Bitmap*                                            Div1ButtonMouseDownBits;
  78. Bitmap*                                            Div3ButtonMouseDownBits;
  79. Bitmap*                                            Div5ButtonMouseDownBits;
  80. Bitmap*                                            Div7ButtonMouseDownBits;
  81. Bitmap*                                            CommandButtonMouseDownBits;
  82.  
  83. Bitmap*                                            ArrowButtonSelectedBits;
  84. Bitmap*                                            SixtyFourthButtonSelectedBits;
  85. Bitmap*                                            ThirtySecondButtonSelectedBits;
  86. Bitmap*                                            SixteenthButtonSelectedBits;
  87. Bitmap*                                            EighthButtonSelectedBits;
  88. Bitmap*                                            QuarterButtonSelectedBits;
  89. Bitmap*                                            HalfButtonSelectedBits;
  90. Bitmap*                                            WholeButtonSelectedBits;
  91. Bitmap*                                            DoubleButtonSelectedBits;
  92. Bitmap*                                            QuadButtonSelectedBits;
  93. Bitmap*                                            SharpButtonSelectedBits;
  94. Bitmap*                                            FlatButtonSelectedBits;
  95. Bitmap*                                            NaturalButtonSelectedBits;
  96. Bitmap*                                            NoteVsRestButtonSelectedBits;
  97. Bitmap*                                            RestVsNoteButtonSelectedBits;
  98. Bitmap*                                            NoDotButtonSelectedBits;
  99. Bitmap*                                            YesDotButtonSelectedBits;
  100. Bitmap*                                            Div1ButtonSelectedBits;
  101. Bitmap*                                            Div3ButtonSelectedBits;
  102. Bitmap*                                            Div5ButtonSelectedBits;
  103. Bitmap*                                            Div7ButtonSelectedBits;
  104. Bitmap*                                            CommandButtonSelectedBits;
  105.  
  106. Bitmap*                                            ArrowButtonSelectedMouseDownBits;
  107. Bitmap*                                            SixtyFourthButtonSelectedMouseDownBits;
  108. Bitmap*                                            ThirtySecondButtonSelectedMouseDownBits;
  109. Bitmap*                                            SixteenthButtonSelectedMouseDownBits;
  110. Bitmap*                                            EighthButtonSelectedMouseDownBits;
  111. Bitmap*                                            QuarterButtonSelectedMouseDownBits;
  112. Bitmap*                                            HalfButtonSelectedMouseDownBits;
  113. Bitmap*                                            WholeButtonSelectedMouseDownBits;
  114. Bitmap*                                            DoubleButtonSelectedMouseDownBits;
  115. Bitmap*                                            QuadButtonSelectedMouseDownBits;
  116. Bitmap*                                            SharpButtonSelectedMouseDownBits;
  117. Bitmap*                                            FlatButtonSelectedMouseDownBits;
  118. Bitmap*                                            NaturalButtonSelectedMouseDownBits;
  119. Bitmap*                                            NoteVsRestButtonSelectedMouseDownBits;
  120. Bitmap*                                            RestVsNoteButtonSelectedMouseDownBits;
  121. Bitmap*                                            NoDotButtonSelectedMouseDownBits;
  122. Bitmap*                                            YesDotButtonSelectedMouseDownBits;
  123. Bitmap*                                            Div1ButtonSelectedMouseDownBits;
  124. Bitmap*                                            Div3ButtonSelectedMouseDownBits;
  125. Bitmap*                                            Div5ButtonSelectedMouseDownBits;
  126. Bitmap*                                            Div7ButtonSelectedMouseDownBits;
  127. Bitmap*                                            CommandButtonSelectedMouseDownBits;
  128.  
  129.  
  130. static unsigned char                oArrowButton[] =
  131.     {
  132.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  133.         0x80,0x00,0x01,0x80,0x80,0x01,0x80,0xC0,0x01,0x80,0xE0,0x01,
  134.         0x80,0xF0,0x01,0x80,0xF8,0x01,0x80,0xFC,0x01,0x80,0xFE,0x01,
  135.         0x80,0xFF,0x01,0x80,0xF8,0x01,0x80,0xD8,0x01,0x80,0x8C,0x01,
  136.         0x80,0x0C,0x01,0x80,0x06,0x01,0x80,0x06,0x01,0x80,0x00,0x01,
  137.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  138.     };
  139.  
  140. static unsigned char                oSixtyFourthButton[] =
  141.     {
  142.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  143.         0x80,0x0E,0x01,0x80,0x09,0x81,0x80,0x08,0x01,0x80,0x0E,0x01,
  144.         0x80,0x09,0x81,0x80,0x08,0x01,0x80,0x0E,0x01,0x80,0x09,0x81,
  145.         0x80,0x08,0x01,0x80,0x0E,0x01,0x80,0x09,0x81,0x80,0x38,0x01,
  146.         0x80,0x78,0x01,0x80,0x78,0x01,0x80,0x70,0x01,0x80,0x00,0x01,
  147.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF,
  148.     };
  149.  
  150. static unsigned char                oThirtySecondButton[] =
  151.     {
  152.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  153.         0x80,0x0E,0x01,0x80,0x09,0x81,0x80,0x08,0x01,0x80,0x0E,0x01,
  154.         0x80,0x09,0x81,0x80,0x08,0x01,0x80,0x0E,0x01,0x80,0x09,0x81,
  155.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x38,0x01,
  156.         0x80,0x78,0x01,0x80,0x78,0x01,0x80,0x70,0x01,0x80,0x00,0x01,
  157.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  158.     };
  159.  
  160. static unsigned char                oSixteenthButton[] =
  161.     {
  162.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  163.         0x80,0x0E,0x01,0x80,0x09,0x81,0x80,0x08,0x01,0x80,0x0E,0x01,
  164.         0x80,0x09,0x81,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,
  165.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x38,0x01,
  166.         0x80,0x78,0x01,0x80,0x78,0x01,0x80,0x70,0x01,0x80,0x00,0x01,
  167.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  168.     };
  169.  
  170. static unsigned char                oEighthButton[] =
  171.     {
  172.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  173.         0x80,0x0E,0x01,0x80,0x09,0x81,0x80,0x08,0x01,0x80,0x08,0x01,
  174.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,
  175.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x38,0x01,
  176.         0x80,0x78,0x01,0x80,0x78,0x01,0x80,0x70,0x01,0x80,0x00,0x01,
  177.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  178.     };
  179.  
  180. static unsigned char                oQuarterButton[] =
  181.     {
  182.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  183.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,
  184.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,
  185.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x38,0x01,
  186.         0x80,0x78,0x01,0x80,0x78,0x01,0x80,0x70,0x01,0x80,0x00,0x01,
  187.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  188.     };
  189.  
  190. static unsigned char                oHalfButton[] =
  191.     {
  192.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  193.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,
  194.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,
  195.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x38,0x01,
  196.         0x80,0x48,0x01,0x80,0x48,0x01,0x80,0x70,0x01,0x80,0x00,0x01,
  197.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  198.     };
  199.  
  200. static unsigned char                oWholeButton[] =
  201.     {
  202.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  203.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  204.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  205.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x38,0x01,
  206.         0x80,0x48,0x01,0x80,0x48,0x01,0x80,0x70,0x01,0x80,0x00,0x01,
  207.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  208.     };
  209.  
  210. static unsigned char                oDoubleButton[] =
  211.     {
  212.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  213.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  214.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  215.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x84,0x01,0x80,0xBC,0x01,
  216.         0x80,0xCC,0x01,0x80,0xCC,0x01,0x80,0xF4,0x01,0x80,0x84,0x01,
  217.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  218.     };
  219.  
  220. static unsigned char                oQuadButton[] =
  221.     {
  222.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  223.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  224.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  225.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x84,0x01,0x80,0xFC,0x01,
  226.         0x80,0x84,0x01,0x80,0x84,0x01,0x80,0xFC,0x01,0x80,0x84,0x01,
  227.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  228.     };
  229.  
  230. static unsigned char                oSharpButton[] =
  231.     {
  232.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  233.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  234.         0x80,0x04,0x01,0x80,0x2E,0x01,0x80,0x74,0x01,0x80,0x24,0x01,
  235.         0x80,0x24,0x01,0x80,0x2E,0x01,0x80,0x74,0x01,0x80,0x20,0x01,
  236.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  237.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  238.     };
  239.  
  240. static unsigned char                oFlatButton[] =
  241.     {
  242.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  243.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  244.         0x80,0x20,0x01,0x80,0x20,0x01,0x80,0x20,0x01,0x80,0x20,0x01,
  245.         0x80,0x38,0x01,0x80,0x28,0x01,0x80,0x30,0x01,0x80,0x00,0x01,
  246.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  247.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  248.     };
  249.  
  250. static unsigned char                oNaturalButton[] =
  251.     {
  252.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  253.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  254.         0x80,0x20,0x01,0x80,0x2C,0x01,0x80,0x34,0x01,0x80,0x24,0x01,
  255.         0x80,0x24,0x01,0x80,0x2C,0x01,0x80,0x34,0x01,0x80,0x04,0x01,
  256.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  257.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  258.     };
  259.  
  260. static unsigned char                oNoteVsRestButton[] =
  261.     {
  262.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  263.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,
  264.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,
  265.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x38,0x01,
  266.         0x80,0x78,0x01,0x80,0x78,0x01,0x80,0x70,0x01,0x80,0x00,0x01,
  267.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  268.     };
  269.  
  270. static unsigned char                oRestVsNoteButton[] =
  271.     {
  272.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  273.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x40,0x01,
  274.         0x80,0x30,0x01,0x80,0x18,0x01,0x80,0x18,0x01,0x80,0x30,0x01,
  275.         0x80,0x30,0x01,0x80,0x18,0x01,0x80,0x34,0x01,0x80,0x60,0x01,
  276.         0x80,0x60,0x01,0x80,0x30,0x01,0x80,0x08,0x01,0x80,0x00,0x01,
  277.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  278.     };
  279.  
  280. static unsigned char                oNoDotButton[] =
  281.     {
  282.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  283.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,
  284.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,
  285.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x38,0x01,
  286.         0x80,0x78,0x01,0x80,0x78,0x01,0x80,0x70,0x01,0x80,0x00,0x01,
  287.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  288.     };
  289.  
  290. static unsigned char                oYesDotButton[] =
  291.     {
  292.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  293.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,
  294.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,
  295.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x38,0x01,
  296.         0x80,0x78,0xC1,0x80,0x78,0xC1,0x80,0x70,0x01,0x80,0x00,0x01,
  297.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  298.     };
  299.  
  300. static unsigned char                oDiv1Button[] =
  301.     {
  302.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  303.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,
  304.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,
  305.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x38,0x01,
  306.         0x80,0x78,0x01,0x80,0x78,0x01,0x80,0x70,0x01,0x80,0x00,0x01,
  307.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  308.     };
  309.  
  310. static unsigned char                oDiv3Button[] =
  311.     {
  312.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  313.         0x80,0x08,0x01,0x87,0x08,0x01,0x81,0x88,0x01,0x81,0x88,0x01,
  314.         0x87,0x08,0x01,0x81,0x88,0x01,0x81,0x88,0x01,0x87,0x08,0x01,
  315.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x38,0x01,
  316.         0x80,0x78,0x01,0x80,0x78,0x01,0x80,0x70,0x01,0x80,0x00,0x01,
  317.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  318.     };
  319.  
  320. static unsigned char                oDiv5Button[] =
  321.     {
  322.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  323.         0x80,0x08,0x01,0x87,0x88,0x01,0x86,0x08,0x01,0x86,0x08,0x01,
  324.         0x87,0x08,0x01,0x81,0x88,0x01,0x81,0x88,0x01,0x87,0x08,0x01,
  325.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x38,0x01,
  326.         0x80,0x78,0x01,0x80,0x78,0x01,0x80,0x70,0x01,0x80,0x00,0x01,
  327.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  328.     };
  329.  
  330. static unsigned char                oDiv7Button[] =
  331.     {
  332.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  333.         0x80,0x08,0x01,0x87,0x88,0x01,0x81,0x88,0x01,0x81,0x88,0x01,
  334.         0x83,0x08,0x01,0x83,0x08,0x01,0x86,0x08,0x01,0x86,0x08,0x01,
  335.         0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x08,0x01,0x80,0x38,0x01,
  336.         0x80,0x78,0x01,0x80,0x78,0x01,0x80,0x70,0x01,0x80,0x00,0x01,
  337.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  338.     };
  339.  
  340. static unsigned char                oCommandButton[] =
  341.     {
  342.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  343.         0x80,0x00,0x01,0x8F,0xFF,0xF1,0x88,0x00,0x11,0x8B,0xC6,0x11,
  344.         0x88,0x00,0x11,0x8B,0x67,0x11,0x88,0x00,0x11,0x8A,0xDF,0x11,
  345.         0x88,0x00,0x11,0x8F,0xFF,0xF1,0x80,0x00,0x01,0x80,0x00,0x01,
  346.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,
  347.         0x80,0x00,0x01,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  348.     };
  349.  
  350.  
  351. static unsigned char                oArrowButtonMouseDown[] =
  352.     {
  353.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  354.         0xE0,0x00,0x07,0xE0,0x80,0x07,0xE0,0xC0,0x07,0xE0,0xE0,0x07,
  355.         0xE0,0xF0,0x07,0xE0,0xF8,0x07,0xE0,0xFC,0x07,0xE0,0xFE,0x07,
  356.         0xE0,0xFF,0x07,0xE0,0xF8,0x07,0xE0,0xD8,0x07,0xE0,0x8C,0x07,
  357.         0xE0,0x0C,0x07,0xE0,0x06,0x07,0xE0,0x06,0x07,0xE0,0x00,0x07,
  358.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  359.     };
  360.  
  361. static unsigned char                oSixtyFourthButtonMouseDown[] =
  362.     {
  363.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  364.         0xE0,0x0E,0x07,0xE0,0x09,0x87,0xE0,0x08,0x07,0xE0,0x0E,0x07,
  365.         0xE0,0x09,0x87,0xE0,0x08,0x07,0xE0,0x0E,0x07,0xE0,0x09,0x87,
  366.         0xE0,0x08,0x07,0xE0,0x0E,0x07,0xE0,0x09,0x87,0xE0,0x38,0x07,
  367.         0xE0,0x78,0x07,0xE0,0x78,0x07,0xE0,0x70,0x07,0xE0,0x00,0x07,
  368.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  369.     };
  370.  
  371. static unsigned char                oThirtySecondButtonMouseDown[] =
  372.     {
  373.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  374.         0xE0,0x0E,0x07,0xE0,0x09,0x87,0xE0,0x08,0x07,0xE0,0x0E,0x07,
  375.         0xE0,0x09,0x87,0xE0,0x08,0x07,0xE0,0x0E,0x07,0xE0,0x09,0x87,
  376.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x38,0x07,
  377.         0xE0,0x78,0x07,0xE0,0x78,0x07,0xE0,0x70,0x07,0xE0,0x00,0x07,
  378.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  379.     };
  380.  
  381. static unsigned char                oSixteenthButtonMouseDown[] =
  382.     {
  383.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  384.         0xE0,0x0E,0x07,0xE0,0x09,0x87,0xE0,0x08,0x07,0xE0,0x0E,0x07,
  385.         0xE0,0x09,0x87,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,
  386.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x38,0x07,
  387.         0xE0,0x78,0x07,0xE0,0x78,0x07,0xE0,0x70,0x07,0xE0,0x00,0x07,
  388.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  389.     };
  390.  
  391. static unsigned char                oEighthButtonMouseDown[] =
  392.     {
  393.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  394.         0xE0,0x0E,0x07,0xE0,0x09,0x87,0xE0,0x08,0x07,0xE0,0x08,0x07,
  395.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,
  396.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x38,0x07,
  397.         0xE0,0x78,0x07,0xE0,0x78,0x07,0xE0,0x70,0x07,0xE0,0x00,0x07,
  398.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  399.     };
  400.  
  401. static unsigned char                oQuarterButtonMouseDown[] =
  402.     {
  403.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  404.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,
  405.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,
  406.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x38,0x07,
  407.         0xE0,0x78,0x07,0xE0,0x78,0x07,0xE0,0x70,0x07,0xE0,0x00,0x07,
  408.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  409.     };
  410.  
  411. static unsigned char                oHalfButtonMouseDown[] =
  412.     {
  413.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  414.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,
  415.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,
  416.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x38,0x07,
  417.         0xE0,0x48,0x07,0xE0,0x48,0x07,0xE0,0x70,0x07,0xE0,0x00,0x07,
  418.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  419.     };
  420.  
  421. static unsigned char                oWholeButtonMouseDown[] =
  422.     {
  423.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  424.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,
  425.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,
  426.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x38,0x07,
  427.         0xE0,0x48,0x07,0xE0,0x48,0x07,0xE0,0x70,0x07,0xE0,0x00,0x07,
  428.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  429.     };
  430.  
  431. static unsigned char                oDoubleButtonMouseDown[] =
  432.     {
  433.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  434.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,
  435.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,
  436.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x84,0x07,0xE0,0xBC,0x07,
  437.         0xE0,0xCC,0x07,0xE0,0xCC,0x07,0xE0,0xF4,0x07,0xE0,0x84,0x07,
  438.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  439.     };
  440.  
  441. static unsigned char                oQuadButtonMouseDown[] =
  442.     {
  443.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  444.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,
  445.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,
  446.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x84,0x07,0xE0,0xFC,0x07,
  447.         0xE0,0x84,0x07,0xE0,0x84,0x07,0xE0,0xFC,0x07,0xE0,0x84,0x07,
  448.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  449.     };
  450.  
  451. static unsigned char                oSharpButtonMouseDown[] =
  452.     {
  453.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  454.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,
  455.         0xE0,0x04,0x07,0xE0,0x2E,0x07,0xE0,0x74,0x07,0xE0,0x24,0x07,
  456.         0xE0,0x24,0x07,0xE0,0x2E,0x07,0xE0,0x74,0x07,0xE0,0x20,0x07,
  457.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,
  458.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  459.     };
  460.  
  461. static unsigned char                oFlatButtonMouseDown[] =
  462.     {
  463.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  464.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,
  465.         0xE0,0x20,0x07,0xE0,0x20,0x07,0xE0,0x20,0x07,0xE0,0x20,0x07,
  466.         0xE0,0x38,0x07,0xE0,0x28,0x07,0xE0,0x30,0x07,0xE0,0x00,0x07,
  467.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,
  468.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  469.     };
  470.  
  471. static unsigned char                oNaturalButtonMouseDown[] =
  472.     {
  473.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  474.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,
  475.         0xE0,0x20,0x07,0xE0,0x2C,0x07,0xE0,0x34,0x07,0xE0,0x24,0x07,
  476.         0xE0,0x24,0x07,0xE0,0x2C,0x07,0xE0,0x34,0x07,0xE0,0x04,0x07,
  477.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,
  478.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  479.     };
  480.  
  481. static unsigned char                oNoteVsRestButtonMouseDown[] =
  482.     {
  483.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  484.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,
  485.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,
  486.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x38,0x07,
  487.         0xE0,0x78,0x07,0xE0,0x78,0x07,0xE0,0x70,0x07,0xE0,0x00,0x07,
  488.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  489.     };
  490.  
  491. static unsigned char                oRestVsNoteButtonMouseDown[] =
  492.     {
  493.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  494.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x40,0x07,
  495.         0xE0,0x30,0x07,0xE0,0x18,0x07,0xE0,0x18,0x07,0xE0,0x30,0x07,
  496.         0xE0,0x30,0x07,0xE0,0x18,0x07,0xE0,0x34,0x07,0xE0,0x60,0x07,
  497.         0xE0,0x60,0x07,0xE0,0x30,0x07,0xE0,0x08,0x07,0xE0,0x00,0x07,
  498.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  499.     };
  500.  
  501. static unsigned char                oNoDotButtonMouseDown[] =
  502.     {
  503.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  504.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,
  505.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,
  506.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x38,0x07,
  507.         0xE0,0x78,0x07,0xE0,0x78,0x07,0xE0,0x70,0x07,0xE0,0x00,0x07,
  508.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  509.     };
  510.  
  511. static unsigned char                oYesDotButtonMouseDown[] =
  512.     {
  513.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  514.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,
  515.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,
  516.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x38,0x07,
  517.         0xE0,0x78,0xC7,0xE0,0x78,0xC7,0xE0,0x70,0x07,0xE0,0x00,0x07,
  518.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  519.     };
  520.  
  521. static unsigned char                oDiv1ButtonMouseDown[] =
  522.     {
  523.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  524.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,
  525.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,
  526.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x38,0x07,
  527.         0xE0,0x78,0x07,0xE0,0x78,0x07,0xE0,0x70,0x07,0xE0,0x00,0x07,
  528.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  529.     };
  530.  
  531. static unsigned char                oDiv3ButtonMouseDown[] =
  532.     {
  533.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  534.         0xE0,0x08,0x07,0xE7,0x08,0x07,0xE1,0x88,0x07,0xE1,0x88,0x07,
  535.         0xE7,0x08,0x07,0xE1,0x88,0x07,0xE1,0x88,0x07,0xE7,0x08,0x07,
  536.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x38,0x07,
  537.         0xE0,0x78,0x07,0xE0,0x78,0x07,0xE0,0x70,0x07,0xE0,0x00,0x07,
  538.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  539.     };
  540.  
  541. static unsigned char                oDiv5ButtonMouseDown[] =
  542.     {
  543.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  544.         0xE0,0x08,0x07,0xE7,0x88,0x07,0xE6,0x08,0x07,0xE6,0x08,0x07,
  545.         0xE7,0x08,0x07,0xE1,0x88,0x07,0xE1,0x88,0x07,0xE7,0x08,0x07,
  546.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x38,0x07,
  547.         0xE0,0x78,0x07,0xE0,0x78,0x07,0xE0,0x70,0x07,0xE0,0x00,0x07,
  548.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  549.     };
  550.  
  551. static unsigned char                oDiv7ButtonMouseDown[] =
  552.     {
  553.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  554.         0xE0,0x08,0x07,0xE7,0x88,0x07,0xE1,0x88,0x07,0xE1,0x88,0x07,
  555.         0xE3,0x08,0x07,0xE3,0x08,0x07,0xE6,0x08,0x07,0xE6,0x08,0x07,
  556.         0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x08,0x07,0xE0,0x38,0x07,
  557.         0xE0,0x78,0x07,0xE0,0x78,0x07,0xE0,0x70,0x07,0xE0,0x00,0x07,
  558.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  559.     };
  560.  
  561. static unsigned char                oCommandButtonMouseDown[] =
  562.     {
  563.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x07,
  564.         0xE0,0x00,0x07,0xEF,0xFF,0xF7,0xE8,0x00,0x17,0xEB,0xC6,0x17,
  565.         0xE8,0x00,0x17,0xEB,0x67,0x17,0xE8,0x00,0x17,0xEA,0xDF,0x17,
  566.         0xE8,0x00,0x17,0xEF,0xFF,0xF7,0xE0,0x00,0x07,0xE0,0x00,0x07,
  567.         0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,0xE0,0x00,0x07,
  568.         0xE0,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  569.     };
  570.  
  571.  
  572. static unsigned char                oArrowButtonSelected[] =
  573.     {
  574.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  575.         0xFF,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0x3F,0xFF,0xFF,0x1F,0xFF,
  576.         0xFF,0x0F,0xFF,0xFF,0x07,0xFF,0xFF,0x03,0xFF,0xFF,0x01,0xFF,
  577.         0xFF,0x00,0xFF,0xFF,0x07,0xFF,0xFF,0x27,0xFF,0xFF,0x73,0xFF,
  578.         0xFF,0xF3,0xFF,0xFF,0xF9,0xFF,0xFF,0xF9,0xFF,0xFF,0xFF,0xFF,
  579.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  580.     };
  581.  
  582. static unsigned char                oSixtyFourthButtonSelected[] =
  583.     {
  584.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  585.         0xFF,0xF1,0xFF,0xFF,0xF6,0x7F,0xFF,0xF7,0xFF,0xFF,0xF1,0xFF,
  586.         0xFF,0xF6,0x7F,0xFF,0xF7,0xFF,0xFF,0xF1,0xFF,0xFF,0xF6,0x7F,
  587.         0xFF,0xF7,0xFF,0xFF,0xF1,0xFF,0xFF,0xF6,0x7F,0xFF,0xC7,0xFF,
  588.         0xFF,0x87,0xFF,0xFF,0x87,0xFF,0xFF,0x8F,0xFF,0xFF,0xFF,0xFF,
  589.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  590.     };
  591.  
  592. static unsigned char                oThirtySecondButtonSelected[] =
  593.     {
  594.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  595.         0xFF,0xF1,0xFF,0xFF,0xF6,0x7F,0xFF,0xF7,0xFF,0xFF,0xF1,0xFF,
  596.         0xFF,0xF6,0x7F,0xFF,0xF7,0xFF,0xFF,0xF1,0xFF,0xFF,0xF6,0x7F,
  597.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xC7,0xFF,
  598.         0xFF,0x87,0xFF,0xFF,0x87,0xFF,0xFF,0x8F,0xFF,0xFF,0xFF,0xFF,
  599.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  600.     };
  601.  
  602. static unsigned char                oSixteenthButtonSelected[] =
  603.     {
  604.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  605.         0xFF,0xF1,0xFF,0xFF,0xF6,0x7F,0xFF,0xF7,0xFF,0xFF,0xF1,0xFF,
  606.         0xFF,0xF6,0x7F,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,
  607.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xC7,0xFF,
  608.         0xFF,0x87,0xFF,0xFF,0x87,0xFF,0xFF,0x8F,0xFF,0xFF,0xFF,0xFF,
  609.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  610.     };
  611.  
  612. static unsigned char                oEighthButtonSelected[] =
  613.     {
  614.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  615.         0xFF,0xF1,0xFF,0xFF,0xF6,0x7F,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,
  616.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,
  617.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xC7,0xFF,
  618.         0xFF,0x87,0xFF,0xFF,0x87,0xFF,0xFF,0x8F,0xFF,0xFF,0xFF,0xFF,
  619.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  620.     };
  621.  
  622. static unsigned char                oQuarterButtonSelected[] =
  623.     {
  624.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  625.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,
  626.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,
  627.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xC7,0xFF,
  628.         0xFF,0x87,0xFF,0xFF,0x87,0xFF,0xFF,0x8F,0xFF,0xFF,0xFF,0xFF,
  629.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  630.     };
  631.  
  632. static unsigned char                oHalfButtonSelected[] =
  633.     {
  634.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  635.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,
  636.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,
  637.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xC7,0xFF,
  638.         0xFF,0xB7,0xFF,0xFF,0xB7,0xFF,0xFF,0x8F,0xFF,0xFF,0xFF,0xFF,
  639.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  640.     };
  641.  
  642. static unsigned char                oWholeButtonSelected[] =
  643.     {
  644.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  645.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  646.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  647.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xC7,0xFF,
  648.         0xFF,0xB7,0xFF,0xFF,0xB7,0xFF,0xFF,0x8F,0xFF,0xFF,0xFF,0xFF,
  649.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  650.     };
  651.  
  652. static unsigned char                oDoubleButtonSelected[] =
  653.     {
  654.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  655.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  656.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  657.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x7B,0xFF,0xFF,0x43,0xFF,
  658.         0xFF,0x33,0xFF,0xFF,0x33,0xFF,0xFF,0x0B,0xFF,0xFF,0x7B,0xFF,
  659.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  660.     };
  661.  
  662. static unsigned char                oQuadButtonSelected[] =
  663.     {
  664.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  665.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  666.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  667.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x7B,0xFF,0xFF,0x03,0xFF,
  668.         0xFF,0x7B,0xFF,0xFF,0x7B,0xFF,0xFF,0x03,0xFF,0xFF,0x7B,0xFF,
  669.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  670.     };
  671.  
  672. static unsigned char                oSharpButtonSelected[] =
  673.     {
  674.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  675.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  676.         0xFF,0xFB,0xFF,0xFF,0xD1,0xFF,0xFF,0x8B,0xFF,0xFF,0xDB,0xFF,
  677.         0xFF,0xDB,0xFF,0xFF,0xD1,0xFF,0xFF,0x8B,0xFF,0xFF,0xDF,0xFF,
  678.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  679.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  680.     };
  681.  
  682. static unsigned char                oFlatButtonSelected[] =
  683.     {
  684.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  685.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  686.         0xFF,0xDF,0xFF,0xFF,0xDF,0xFF,0xFF,0xDF,0xFF,0xFF,0xDF,0xFF,
  687.         0xFF,0xC7,0xFF,0xFF,0xD7,0xFF,0xFF,0xCF,0xFF,0xFF,0xFF,0xFF,
  688.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  689.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  690.     };
  691.  
  692. static unsigned char                oNaturalButtonSelected[] =
  693.     {
  694.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  695.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  696.         0xFF,0xDF,0xFF,0xFF,0xD3,0xFF,0xFF,0xCB,0xFF,0xFF,0xDB,0xFF,
  697.         0xFF,0xDB,0xFF,0xFF,0xD3,0xFF,0xFF,0xCB,0xFF,0xFF,0xFB,0xFF,
  698.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  699.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  700.     };
  701.  
  702. static unsigned char                oNoteVsRestButtonSelected[] =
  703.     {
  704.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  705.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,
  706.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,
  707.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xC7,0xFF,
  708.         0xFF,0x87,0xFF,0xFF,0x87,0xFF,0xFF,0x8F,0xFF,0xFF,0xFF,0xFF,
  709.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  710.     };
  711.  
  712. static unsigned char                oRestVsNoteButtonSelected[] =
  713.     {
  714.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  715.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xBF,0xFF,
  716.         0xFF,0xCF,0xFF,0xFF,0xE7,0xFF,0xFF,0xE7,0xFF,0xFF,0xCF,0xFF,
  717.         0xFF,0xCF,0xFF,0xFF,0xE7,0xFF,0xFF,0xCB,0xFF,0xFF,0x9F,0xFF,
  718.         0xFF,0x9F,0xFF,0xFF,0xCF,0xFF,0xFF,0xF7,0xFF,0xFF,0xFF,0xFF,
  719.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  720.     };
  721.  
  722. static unsigned char                oNoDotButtonSelected[] =
  723.     {
  724.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  725.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,
  726.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,
  727.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xC7,0xFF,
  728.         0xFF,0x87,0xFF,0xFF,0x87,0xFF,0xFF,0x8F,0xFF,0xFF,0xFF,0xFF,
  729.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  730.     };
  731.  
  732. static unsigned char                oYesDotButtonSelected[] =
  733.     {
  734.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  735.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,
  736.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,
  737.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xC7,0xFF,
  738.         0xFF,0x87,0x3F,0xFF,0x87,0x3F,0xFF,0x8F,0xFF,0xFF,0xFF,0xFF,
  739.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  740.     };
  741.  
  742. static unsigned char                oDiv1ButtonSelected[] =
  743.     {
  744.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  745.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,
  746.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,
  747.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xC7,0xFF,
  748.         0xFF,0x87,0xFF,0xFF,0x87,0xFF,0xFF,0x8F,0xFF,0xFF,0xFF,0xFF,
  749.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  750.     };
  751.  
  752. static unsigned char                oDiv3ButtonSelected[] =
  753.     {
  754.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  755.         0xFF,0xF7,0xFF,0xF8,0xF7,0xFF,0xFE,0x77,0xFF,0xFE,0x77,0xFF,
  756.         0xF8,0xF7,0xFF,0xFE,0x77,0xFF,0xFE,0x77,0xFF,0xF8,0xF7,0xFF,
  757.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xC7,0xFF,
  758.         0xFF,0x87,0xFF,0xFF,0x87,0xFF,0xFF,0x8F,0xFF,0xFF,0xFF,0xFF,
  759.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  760.     };
  761.  
  762. static unsigned char                oDiv5ButtonSelected[] =
  763.     {
  764.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  765.         0xFF,0xF7,0xFF,0xF8,0x77,0xFF,0xF9,0xF7,0xFF,0xF9,0xF7,0xFF,
  766.         0xF8,0xF7,0xFF,0xFE,0x77,0xFF,0xFE,0x77,0xFF,0xF8,0xF7,0xFF,
  767.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xC7,0xFF,
  768.         0xFF,0x87,0xFF,0xFF,0x87,0xFF,0xFF,0x8F,0xFF,0xFF,0xFF,0xFF,
  769.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  770.     };
  771.  
  772. static unsigned char                oDiv7ButtonSelected[] =
  773.     {
  774.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  775.         0xFF,0xF7,0xFF,0xF8,0x77,0xFF,0xFE,0x77,0xFF,0xFE,0x77,0xFF,
  776.         0xFC,0xF7,0xFF,0xFC,0xF7,0xFF,0xF9,0xF7,0xFF,0xF9,0xF7,0xFF,
  777.         0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xF7,0xFF,0xFF,0xC7,0xFF,
  778.         0xFF,0x87,0xFF,0xFF,0x87,0xFF,0xFF,0x8F,0xFF,0xFF,0xFF,0xFF,
  779.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  780.     };
  781.  
  782. static unsigned char                oCommandButtonSelected[] =
  783.     {
  784.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  785.         0xFF,0xFF,0xFF,0xF0,0x00,0x0F,0xF7,0xFF,0xEF,0xF4,0x39,0xEF,
  786.         0xF7,0xFF,0xEF,0xF4,0x98,0xEF,0xF7,0xFF,0xEF,0xF5,0x20,0xEF,
  787.         0xF7,0xFF,0xEF,0xF0,0x00,0x0F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  788.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  789.         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
  790.     };
  791.  
  792.  
  793. static unsigned char                oArrowButtonSelectedMouseDown[] =
  794.     {
  795.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  796.         0x9F,0xFF,0xF9,0x9F,0x7F,0xF9,0x9F,0x3F,0xF9,0x9F,0x1F,0xF9,
  797.         0x9F,0x0F,0xF9,0x9F,0x07,0xF9,0x9F,0x03,0xF9,0x9F,0x01,0xF9,
  798.         0x9F,0x00,0xF9,0x9F,0x07,0xF9,0x9F,0x27,0xF9,0x9F,0x73,0xF9,
  799.         0x9F,0xF3,0xF9,0x9F,0xF9,0xF9,0x9F,0xF9,0xF9,0x9F,0xFF,0xF9,
  800.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  801.     };
  802.  
  803. static unsigned char                oSixtyFourthButtonSelectedMouseDown[] =
  804.     {
  805.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  806.         0x9F,0xF1,0xF9,0x9F,0xF6,0x79,0x9F,0xF7,0xF9,0x9F,0xF1,0xF9,
  807.         0x9F,0xF6,0x79,0x9F,0xF7,0xF9,0x9F,0xF1,0xF9,0x9F,0xF6,0x79,
  808.         0x9F,0xF7,0xF9,0x9F,0xF1,0xF9,0x9F,0xF6,0x79,0x9F,0xC7,0xF9,
  809.         0x9F,0x87,0xF9,0x9F,0x87,0xF9,0x9F,0x8F,0xF9,0x9F,0xFF,0xF9,
  810.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  811.     };
  812.  
  813. static unsigned char                oThirtySecondButtonSelectedMouseDown[] =
  814.     {
  815.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  816.         0x9F,0xF1,0xF9,0x9F,0xF6,0x79,0x9F,0xF7,0xF9,0x9F,0xF1,0xF9,
  817.         0x9F,0xF6,0x79,0x9F,0xF7,0xF9,0x9F,0xF1,0xF9,0x9F,0xF6,0x79,
  818.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xC7,0xF9,
  819.         0x9F,0x87,0xF9,0x9F,0x87,0xF9,0x9F,0x8F,0xF9,0x9F,0xFF,0xF9,
  820.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  821.     };
  822.  
  823. static unsigned char                oSixteenthButtonSelectedMouseDown[] =
  824.     {
  825.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  826.         0x9F,0xF1,0xF9,0x9F,0xF6,0x79,0x9F,0xF7,0xF9,0x9F,0xF1,0xF9,
  827.         0x9F,0xF6,0x79,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,
  828.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xC7,0xF9,
  829.         0x9F,0x87,0xF9,0x9F,0x87,0xF9,0x9F,0x8F,0xF9,0x9F,0xFF,0xF9,
  830.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  831.     };
  832.  
  833. static unsigned char                oEighthButtonSelectedMouseDown[] =
  834.     {
  835.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  836.         0x9F,0xF1,0xF9,0x9F,0xF6,0x79,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,
  837.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,
  838.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xC7,0xF9,
  839.         0x9F,0x87,0xF9,0x9F,0x87,0xF9,0x9F,0x8F,0xF9,0x9F,0xFF,0xF9,
  840.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  841.     };
  842.  
  843. static unsigned char                oQuarterButtonSelectedMouseDown[] =
  844.     {
  845.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  846.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,
  847.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,
  848.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xC7,0xF9,
  849.         0x9F,0x87,0xF9,0x9F,0x87,0xF9,0x9F,0x8F,0xF9,0x9F,0xFF,0xF9,
  850.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  851.     };
  852.  
  853. static unsigned char                oHalfButtonSelectedMouseDown[] =
  854.     {
  855.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  856.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,
  857.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,
  858.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xC7,0xF9,
  859.         0x9F,0xB7,0xF9,0x9F,0xB7,0xF9,0x9F,0x8F,0xF9,0x9F,0xFF,0xF9,
  860.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  861.     };
  862.  
  863. static unsigned char                oWholeButtonSelectedMouseDown[] =
  864.     {
  865.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  866.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,
  867.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,
  868.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xC7,0xF9,
  869.         0x9F,0xB7,0xF9,0x9F,0xB7,0xF9,0x9F,0x8F,0xF9,0x9F,0xFF,0xF9,
  870.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  871.     };
  872.  
  873. static unsigned char                oDoubleButtonSelectedMouseDown[] =
  874.     {
  875.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  876.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,
  877.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,
  878.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0x7B,0xF9,0x9F,0x43,0xF9,
  879.         0x9F,0x33,0xF9,0x9F,0x33,0xF9,0x9F,0x0B,0xF9,0x9F,0x7B,0xF9,
  880.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  881.     };
  882.  
  883. static unsigned char                oQuadButtonSelectedMouseDown[] =
  884.     {
  885.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  886.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,
  887.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,
  888.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0x7B,0xF9,0x9F,0x03,0xF9,
  889.         0x9F,0x7B,0xF9,0x9F,0x7B,0xF9,0x9F,0x03,0xF9,0x9F,0x7B,0xF9,
  890.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  891.     };
  892.  
  893. static unsigned char                oSharpButtonSelectedMouseDown[] =
  894.     {
  895.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  896.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,
  897.         0x9F,0xFB,0xF9,0x9F,0xD1,0xF9,0x9F,0x8B,0xF9,0x9F,0xDB,0xF9,
  898.         0x9F,0xDB,0xF9,0x9F,0xD1,0xF9,0x9F,0x8B,0xF9,0x9F,0xDF,0xF9,
  899.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,
  900.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  901.     };
  902.  
  903. static unsigned char                oFlatButtonSelectedMouseDown[] =
  904.     {
  905.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  906.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,
  907.         0x9F,0xDF,0xF9,0x9F,0xDF,0xF9,0x9F,0xDF,0xF9,0x9F,0xDF,0xF9,
  908.         0x9F,0xC7,0xF9,0x9F,0xD7,0xF9,0x9F,0xCF,0xF9,0x9F,0xFF,0xF9,
  909.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,
  910.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  911.     };
  912.  
  913. static unsigned char                oNaturalButtonSelectedMouseDown[] =
  914.     {
  915.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  916.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,
  917.         0x9F,0xDF,0xF9,0x9F,0xD3,0xF9,0x9F,0xCB,0xF9,0x9F,0xDB,0xF9,
  918.         0x9F,0xDB,0xF9,0x9F,0xD3,0xF9,0x9F,0xCB,0xF9,0x9F,0xFB,0xF9,
  919.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,
  920.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  921.     };
  922.  
  923. static unsigned char                oNoteVsRestButtonSelectedMouseDown[] =
  924.     {
  925.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  926.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,
  927.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,
  928.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xC7,0xF9,
  929.         0x9F,0x87,0xF9,0x9F,0x87,0xF9,0x9F,0x8F,0xF9,0x9F,0xFF,0xF9,
  930.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  931.     };
  932.  
  933. static unsigned char                oRestVsNoteButtonSelectedMouseDown[] =
  934.     {
  935.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  936.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xBF,0xF9,
  937.         0x9F,0xCF,0xF9,0x9F,0xE7,0xF9,0x9F,0xE7,0xF9,0x9F,0xCF,0xF9,
  938.         0x9F,0xCF,0xF9,0x9F,0xE7,0xF9,0x9F,0xCB,0xF9,0x9F,0x9F,0xF9,
  939.         0x9F,0x9F,0xF9,0x9F,0xCF,0xF9,0x9F,0xF7,0xF9,0x9F,0xFF,0xF9,
  940.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  941.     };
  942.  
  943. static unsigned char                oNoDotButtonSelectedMouseDown[] =
  944.     {
  945.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  946.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,
  947.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,
  948.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xC7,0xF9,
  949.         0x9F,0x87,0xF9,0x9F,0x87,0xF9,0x9F,0x8F,0xF9,0x9F,0xFF,0xF9,
  950.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  951.     };
  952.  
  953. static unsigned char                oYesDotButtonSelectedMouseDown[] =
  954.     {
  955.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  956.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,
  957.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,
  958.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xC7,0xF9,
  959.         0x9F,0x87,0x39,0x9F,0x87,0x39,0x9F,0x8F,0xF9,0x9F,0xFF,0xF9,
  960.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  961.     };
  962.  
  963. static unsigned char                oDiv1ButtonSelectedMouseDown[] =
  964.     {
  965.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  966.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,
  967.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,
  968.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xC7,0xF9,
  969.         0x9F,0x87,0xF9,0x9F,0x87,0xF9,0x9F,0x8F,0xF9,0x9F,0xFF,0xF9,
  970.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  971.     };
  972.  
  973. static unsigned char                oDiv3ButtonSelectedMouseDown[] =
  974.     {
  975.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  976.         0x9F,0xF7,0xF9,0x98,0xF7,0xF9,0x9E,0x77,0xF9,0x9E,0x77,0xF9,
  977.         0x98,0xF7,0xF9,0x9E,0x77,0xF9,0x9E,0x77,0xF9,0x98,0xF7,0xF9,
  978.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xC7,0xF9,
  979.         0x9F,0x87,0xF9,0x9F,0x87,0xF9,0x9F,0x8F,0xF9,0x9F,0xFF,0xF9,
  980.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  981.     };
  982.  
  983. static unsigned char                oDiv5ButtonSelectedMouseDown[] =
  984.     {
  985.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  986.         0x9F,0xF7,0xF9,0x98,0x77,0xF9,0x99,0xF7,0xF9,0x99,0xF7,0xF9,
  987.         0x98,0xF7,0xF9,0x9E,0x77,0xF9,0x9E,0x77,0xF9,0x98,0xF7,0xF9,
  988.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xC7,0xF9,
  989.         0x9F,0x87,0xF9,0x9F,0x87,0xF9,0x9F,0x8F,0xF9,0x9F,0xFF,0xF9,
  990.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  991.     };
  992.  
  993. static unsigned char                oDiv7ButtonSelectedMouseDown[] =
  994.     {
  995.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  996.         0x9F,0xF7,0xF9,0x98,0x77,0xF9,0x9E,0x77,0xF9,0x9E,0x77,0xF9,
  997.         0x9C,0xF7,0xF9,0x9C,0xF7,0xF9,0x99,0xF7,0xF9,0x99,0xF7,0xF9,
  998.         0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xF7,0xF9,0x9F,0xC7,0xF9,
  999.         0x9F,0x87,0xF9,0x9F,0x87,0xF9,0x9F,0x8F,0xF9,0x9F,0xFF,0xF9,
  1000.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  1001.     };
  1002.  
  1003. static unsigned char                oCommandButtonSelectedMouseDown[] =
  1004.     {
  1005.         0xFF,0xFF,0xFF,0x80,0x00,0x01,0x80,0x00,0x01,0x9F,0xFF,0xF9,
  1006.         0x9F,0xFF,0xF9,0x90,0x00,0x09,0x97,0xFF,0xE9,0x94,0x39,0xE9,
  1007.         0x97,0xFF,0xE9,0x94,0x98,0xE9,0x97,0xFF,0xE9,0x95,0x20,0xE9,
  1008.         0x97,0xFF,0xE9,0x90,0x00,0x09,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,
  1009.         0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,0x9F,0xFF,0xF9,
  1010.         0x9F,0xFF,0xF9,0x80,0x00,0x01,0x80,0x00,0x01,0xFF,0xFF,0xFF
  1011.     };
  1012.  
  1013.  
  1014. MyBoolean                        InitializeNoteButtonImages(void)
  1015.     {
  1016.         ERROR(Initialized,PRERR(ForceAbort,"InitializeNoteButtonImages:  already initialized"));
  1017.         EXECUTE(Initialized = True;)
  1018.         /* we do not watch for out of memory conditions because this should be */
  1019.         /* called early when there is plenty of memory available */
  1020.         ArrowButtonBits = MakeBitmap(oArrowButton,24,24,3);
  1021.         if (ArrowButtonBits == NIL)
  1022.             {
  1023.              FailurePoint1:
  1024.                 return False;
  1025.             }
  1026.         SixtyFourthButtonBits = MakeBitmap(oSixtyFourthButton,24,24,3);
  1027.         if (SixtyFourthButtonBits == NIL)
  1028.             {
  1029.              FailurePoint2:
  1030.                 DisposeBitmap(ArrowButtonBits);
  1031.                 goto FailurePoint1;
  1032.             }
  1033.         ThirtySecondButtonBits = MakeBitmap(oThirtySecondButton,24,24,3);
  1034.         if (ThirtySecondButtonBits == NIL)
  1035.             {
  1036.              FailurePoint3:
  1037.                 DisposeBitmap(SixtyFourthButtonBits);
  1038.                 goto FailurePoint2;
  1039.             }
  1040.         SixteenthButtonBits = MakeBitmap(oSixteenthButton,24,24,3);
  1041.         if (SixteenthButtonBits == NIL)
  1042.             {
  1043.              FailurePoint4:
  1044.                 DisposeBitmap(ThirtySecondButtonBits);
  1045.                 goto FailurePoint3;
  1046.             }
  1047.         EighthButtonBits = MakeBitmap(oEighthButton,24,24,3);
  1048.         if (EighthButtonBits == NIL)
  1049.             {
  1050.              FailurePoint5:
  1051.                 DisposeBitmap(SixteenthButtonBits);
  1052.                 goto FailurePoint4;
  1053.             }
  1054.         QuarterButtonBits = MakeBitmap(oQuarterButton,24,24,3);
  1055.         if (QuarterButtonBits == NIL)
  1056.             {
  1057.              FailurePoint6:
  1058.                 DisposeBitmap(EighthButtonBits);
  1059.                 goto FailurePoint5;
  1060.             }
  1061.         HalfButtonBits = MakeBitmap(oHalfButton,24,24,3);
  1062.         if (HalfButtonBits == NIL)
  1063.             {
  1064.              FailurePoint7:
  1065.                 DisposeBitmap(QuarterButtonBits);
  1066.                 goto FailurePoint6;
  1067.             }
  1068.         WholeButtonBits = MakeBitmap(oWholeButton,24,24,3);
  1069.         if (WholeButtonBits == NIL)
  1070.             {
  1071.              FailurePoint8:
  1072.                 DisposeBitmap(HalfButtonBits);
  1073.                 goto FailurePoint7;
  1074.             }
  1075.         DoubleButtonBits = MakeBitmap(oDoubleButton,24,24,3);
  1076.         if (DoubleButtonBits == NIL)
  1077.             {
  1078.              FailurePoint9:
  1079.                 DisposeBitmap(WholeButtonBits);
  1080.                 goto FailurePoint8;
  1081.             }
  1082.         QuadButtonBits = MakeBitmap(oQuadButton,24,24,3);
  1083.         if (QuadButtonBits == NIL)
  1084.             {
  1085.              FailurePoint10:
  1086.                 DisposeBitmap(DoubleButtonBits);
  1087.                 goto FailurePoint9;
  1088.             }
  1089.         SharpButtonBits = MakeBitmap(oSharpButton,24,24,3);
  1090.         if (SharpButtonBits == NIL)
  1091.             {
  1092.              FailurePoint11:
  1093.                 DisposeBitmap(QuadButtonBits);
  1094.                 goto FailurePoint10;
  1095.             }
  1096.         FlatButtonBits = MakeBitmap(oFlatButton,24,24,3);
  1097.         if (FlatButtonBits == NIL)
  1098.             {
  1099.              FailurePoint12:
  1100.                 DisposeBitmap(SharpButtonBits);
  1101.                 goto FailurePoint11;
  1102.             }
  1103.         NaturalButtonBits = MakeBitmap(oNaturalButton,24,24,3);
  1104.         if (NaturalButtonBits == NIL)
  1105.             {
  1106.              FailurePoint13:
  1107.                 DisposeBitmap(FlatButtonBits);
  1108.                 goto FailurePoint12;
  1109.             }
  1110.         NoteVsRestButtonBits = MakeBitmap(oNoteVsRestButton,24,24,3);
  1111.         if (NoteVsRestButtonBits == NIL)
  1112.             {
  1113.              FailurePoint14:
  1114.                 DisposeBitmap(NaturalButtonBits);
  1115.                 goto FailurePoint13;
  1116.             }
  1117.         RestVsNoteButtonBits = MakeBitmap(oRestVsNoteButton,24,24,3);
  1118.         if (RestVsNoteButtonBits == NIL)
  1119.             {
  1120.              FailurePoint15:
  1121.                 DisposeBitmap(NoteVsRestButtonBits);
  1122.                 goto FailurePoint14;
  1123.             }
  1124.         NoDotButtonBits = MakeBitmap(oNoDotButton,24,24,3);
  1125.         if (NoDotButtonBits == NIL)
  1126.             {
  1127.              FailurePoint16:
  1128.                 DisposeBitmap(RestVsNoteButtonBits);
  1129.                 goto FailurePoint15;
  1130.             }
  1131.         YesDotButtonBits = MakeBitmap(oYesDotButton,24,24,3);
  1132.         if (YesDotButtonBits == NIL)
  1133.             {
  1134.              FailurePoint17:
  1135.                 DisposeBitmap(NoDotButtonBits);
  1136.                 goto FailurePoint16;
  1137.             }
  1138.         Div1ButtonBits = MakeBitmap(oDiv1Button,24,24,3);
  1139.         if (Div1ButtonBits == NIL)
  1140.             {
  1141.              FailurePoint18:
  1142.                 DisposeBitmap(YesDotButtonBits);
  1143.                 goto FailurePoint17;
  1144.             }
  1145.         Div3ButtonBits = MakeBitmap(oDiv3Button,24,24,3);
  1146.         if (Div3ButtonBits == NIL)
  1147.             {
  1148.              FailurePoint19:
  1149.                 DisposeBitmap(Div1ButtonBits);
  1150.                 goto FailurePoint18;
  1151.             }
  1152.         Div5ButtonBits = MakeBitmap(oDiv5Button,24,24,3);
  1153.         if (Div5ButtonBits == NIL)
  1154.             {
  1155.              FailurePoint20:
  1156.                 DisposeBitmap(Div3ButtonBits);
  1157.                 goto FailurePoint19;
  1158.             }
  1159.         Div7ButtonBits = MakeBitmap(oDiv7Button,24,24,3);
  1160.         if (Div7ButtonBits == NIL)
  1161.             {
  1162.              FailurePoint21:
  1163.                 DisposeBitmap(Div5ButtonBits);
  1164.                 goto FailurePoint20;
  1165.             }
  1166.  
  1167.         ArrowButtonMouseDownBits = MakeBitmap(oArrowButtonMouseDown,24,24,3);
  1168.         if (ArrowButtonMouseDownBits == NIL)
  1169.             {
  1170.              FailurePoint22:
  1171.                 DisposeBitmap(Div7ButtonBits);
  1172.                 goto FailurePoint21;
  1173.             }
  1174.         SixtyFourthButtonMouseDownBits = MakeBitmap(oSixtyFourthButtonMouseDown,24,24,3);
  1175.         if (SixtyFourthButtonMouseDownBits == NIL)
  1176.             {
  1177.              FailurePoint23:
  1178.                 DisposeBitmap(ArrowButtonMouseDownBits);
  1179.                 goto FailurePoint22;
  1180.             }
  1181.         ThirtySecondButtonMouseDownBits = MakeBitmap(oThirtySecondButtonMouseDown,24,24,3);
  1182.         if (ThirtySecondButtonMouseDownBits == NIL)
  1183.             {
  1184.              FailurePoint24:
  1185.                 DisposeBitmap(SixtyFourthButtonMouseDownBits);
  1186.                 goto FailurePoint23;
  1187.             }
  1188.         SixteenthButtonMouseDownBits = MakeBitmap(oSixteenthButtonMouseDown,24,24,3);
  1189.         if (SixteenthButtonMouseDownBits == NIL)
  1190.             {
  1191.              FailurePoint25:
  1192.                 DisposeBitmap(ThirtySecondButtonMouseDownBits);
  1193.                 goto FailurePoint24;
  1194.             }
  1195.         EighthButtonMouseDownBits = MakeBitmap(oEighthButtonMouseDown,24,24,3);
  1196.         if (EighthButtonMouseDownBits == NIL)
  1197.             {
  1198.              FailurePoint26:
  1199.                 DisposeBitmap(SixteenthButtonMouseDownBits);
  1200.                 goto FailurePoint25;
  1201.             }
  1202.         QuarterButtonMouseDownBits = MakeBitmap(oQuarterButtonMouseDown,24,24,3);
  1203.         if (QuarterButtonMouseDownBits == NIL)
  1204.             {
  1205.              FailurePoint27:
  1206.                 DisposeBitmap(EighthButtonMouseDownBits);
  1207.                 goto FailurePoint26;
  1208.             }
  1209.         HalfButtonMouseDownBits = MakeBitmap(oHalfButtonMouseDown,24,24,3);
  1210.         if (HalfButtonMouseDownBits == NIL)
  1211.             {
  1212.              FailurePoint28:
  1213.                 DisposeBitmap(QuarterButtonMouseDownBits);
  1214.                 goto FailurePoint27;
  1215.             }
  1216.         WholeButtonMouseDownBits = MakeBitmap(oWholeButtonMouseDown,24,24,3);
  1217.         if (WholeButtonMouseDownBits == NIL)
  1218.             {
  1219.              FailurePoint29:
  1220.                 DisposeBitmap(HalfButtonMouseDownBits);
  1221.                 goto FailurePoint28;
  1222.             }
  1223.         DoubleButtonMouseDownBits = MakeBitmap(oDoubleButtonMouseDown,24,24,3);
  1224.         if (DoubleButtonMouseDownBits == NIL)
  1225.             {
  1226.              FailurePoint30:
  1227.                 DisposeBitmap(WholeButtonMouseDownBits);
  1228.                 goto FailurePoint29;
  1229.             }
  1230.         QuadButtonMouseDownBits = MakeBitmap(oQuadButtonMouseDown,24,24,3);
  1231.         if (QuadButtonMouseDownBits == NIL)
  1232.             {
  1233.              FailurePoint31:
  1234.                 DisposeBitmap(DoubleButtonMouseDownBits);
  1235.                 goto FailurePoint30;
  1236.             }
  1237.         SharpButtonMouseDownBits = MakeBitmap(oSharpButtonMouseDown,24,24,3);
  1238.         if (SharpButtonMouseDownBits == NIL)
  1239.             {
  1240.              FailurePoint32:
  1241.                 DisposeBitmap(QuadButtonMouseDownBits);
  1242.                 goto FailurePoint31;
  1243.             }
  1244.         FlatButtonMouseDownBits = MakeBitmap(oFlatButtonMouseDown,24,24,3);
  1245.         if (FlatButtonMouseDownBits == NIL)
  1246.             {
  1247.              FailurePoint33:
  1248.                 DisposeBitmap(SharpButtonMouseDownBits);
  1249.                 goto FailurePoint32;
  1250.             }
  1251.         NaturalButtonMouseDownBits = MakeBitmap(oNaturalButtonMouseDown,24,24,3);
  1252.         if (NaturalButtonMouseDownBits == NIL)
  1253.             {
  1254.              FailurePoint34:
  1255.                 DisposeBitmap(FlatButtonMouseDownBits);
  1256.                 goto FailurePoint33;
  1257.             }
  1258.         NoteVsRestButtonMouseDownBits = MakeBitmap(oNoteVsRestButtonMouseDown,24,24,3);
  1259.         if (NoteVsRestButtonMouseDownBits == NIL)
  1260.             {
  1261.              FailurePoint35:
  1262.                 DisposeBitmap(NaturalButtonMouseDownBits);
  1263.                 goto FailurePoint34;
  1264.             }
  1265.         RestVsNoteButtonMouseDownBits = MakeBitmap(oRestVsNoteButtonMouseDown,24,24,3);
  1266.         if (RestVsNoteButtonMouseDownBits == NIL)
  1267.             {
  1268.              FailurePoint36:
  1269.                 DisposeBitmap(NoteVsRestButtonMouseDownBits);
  1270.                 goto FailurePoint35;
  1271.             }
  1272.         NoDotButtonMouseDownBits = MakeBitmap(oNoDotButtonMouseDown,24,24,3);
  1273.         if (NoDotButtonMouseDownBits == NIL)
  1274.             {
  1275.              FailurePoint37:
  1276.                 DisposeBitmap(RestVsNoteButtonMouseDownBits);
  1277.                 goto FailurePoint36;
  1278.             }
  1279.         YesDotButtonMouseDownBits = MakeBitmap(oYesDotButtonMouseDown,24,24,3);
  1280.         if (YesDotButtonMouseDownBits == NIL)
  1281.             {
  1282.              FailurePoint38:
  1283.                 DisposeBitmap(NoDotButtonMouseDownBits);
  1284.                 goto FailurePoint37;
  1285.             }
  1286.         Div1ButtonMouseDownBits = MakeBitmap(oDiv1ButtonMouseDown,24,24,3);
  1287.         if (Div1ButtonMouseDownBits == NIL)
  1288.             {
  1289.              FailurePoint39:
  1290.                 DisposeBitmap(YesDotButtonMouseDownBits);
  1291.                 goto FailurePoint38;
  1292.             }
  1293.         Div3ButtonMouseDownBits = MakeBitmap(oDiv3ButtonMouseDown,24,24,3);
  1294.         if (Div3ButtonMouseDownBits == NIL)
  1295.             {
  1296.              FailurePoint40:
  1297.                 DisposeBitmap(Div1ButtonMouseDownBits);
  1298.                 goto FailurePoint39;
  1299.             }
  1300.         Div5ButtonMouseDownBits = MakeBitmap(oDiv5ButtonMouseDown,24,24,3);
  1301.         if (Div5ButtonMouseDownBits == NIL)
  1302.             {
  1303.              FailurePoint41:
  1304.                 DisposeBitmap(Div3ButtonMouseDownBits);
  1305.                 goto FailurePoint40;
  1306.             }
  1307.         Div7ButtonMouseDownBits = MakeBitmap(oDiv7ButtonMouseDown,24,24,3);
  1308.         if (Div7ButtonMouseDownBits == NIL)
  1309.             {
  1310.              FailurePoint42:
  1311.                 DisposeBitmap(Div5ButtonMouseDownBits);
  1312.                 goto FailurePoint41;
  1313.             }
  1314.  
  1315.         ArrowButtonSelectedBits = MakeBitmap(oArrowButtonSelected,24,24,3);
  1316.         if (ArrowButtonSelectedBits == NIL)
  1317.             {
  1318.              FailurePoint43:
  1319.                 DisposeBitmap(Div7ButtonMouseDownBits);
  1320.                 goto FailurePoint42;
  1321.             }
  1322.         SixtyFourthButtonSelectedBits = MakeBitmap(oSixtyFourthButtonSelected,24,24,3);
  1323.         if (SixtyFourthButtonSelectedBits == NIL)
  1324.             {
  1325.              FailurePoint44:
  1326.                 DisposeBitmap(ArrowButtonSelectedBits);
  1327.                 goto FailurePoint43;
  1328.             }
  1329.         ThirtySecondButtonSelectedBits = MakeBitmap(oThirtySecondButtonSelected,24,24,3);
  1330.         if (ThirtySecondButtonSelectedBits == NIL)
  1331.             {
  1332.              FailurePoint45:
  1333.                 DisposeBitmap(SixtyFourthButtonSelectedBits);
  1334.                 goto FailurePoint44;
  1335.             }
  1336.         SixteenthButtonSelectedBits = MakeBitmap(oSixteenthButtonSelected,24,24,3);
  1337.         if (SixteenthButtonSelectedBits == NIL)
  1338.             {
  1339.              FailurePoint46:
  1340.                 DisposeBitmap(ThirtySecondButtonSelectedBits);
  1341.                 goto FailurePoint45;
  1342.             }
  1343.         EighthButtonSelectedBits = MakeBitmap(oEighthButtonSelected,24,24,3);
  1344.         if (EighthButtonSelectedBits == NIL)
  1345.             {
  1346.              FailurePoint47:
  1347.                 DisposeBitmap(SixteenthButtonSelectedBits);
  1348.                 goto FailurePoint46;
  1349.             }
  1350.         QuarterButtonSelectedBits = MakeBitmap(oQuarterButtonSelected,24,24,3);
  1351.         if (QuarterButtonSelectedBits == NIL)
  1352.             {
  1353.              FailurePoint48:
  1354.                 DisposeBitmap(EighthButtonSelectedBits);
  1355.                 goto FailurePoint47;
  1356.             }
  1357.         HalfButtonSelectedBits = MakeBitmap(oHalfButtonSelected,24,24,3);
  1358.         if (HalfButtonSelectedBits == NIL)
  1359.             {
  1360.              FailurePoint49:
  1361.                 DisposeBitmap(QuarterButtonSelectedBits);
  1362.                 goto FailurePoint48;
  1363.             }
  1364.         WholeButtonSelectedBits = MakeBitmap(oWholeButtonSelected,24,24,3);
  1365.         if (WholeButtonSelectedBits == NIL)
  1366.             {
  1367.              FailurePoint50:
  1368.                 DisposeBitmap(HalfButtonSelectedBits);
  1369.                 goto FailurePoint49;
  1370.             }
  1371.         DoubleButtonSelectedBits = MakeBitmap(oDoubleButtonSelected,24,24,3);
  1372.         if (DoubleButtonSelectedBits == NIL)
  1373.             {
  1374.              FailurePoint51:
  1375.                 DisposeBitmap(WholeButtonSelectedBits);
  1376.                 goto FailurePoint50;
  1377.             }
  1378.         QuadButtonSelectedBits = MakeBitmap(oQuadButtonSelected,24,24,3);
  1379.         if (QuadButtonSelectedBits == NIL)
  1380.             {
  1381.              FailurePoint52:
  1382.                 DisposeBitmap(DoubleButtonSelectedBits);
  1383.                 goto FailurePoint51;
  1384.             }
  1385.         SharpButtonSelectedBits = MakeBitmap(oSharpButtonSelected,24,24,3);
  1386.         if (SharpButtonSelectedBits == NIL)
  1387.             {
  1388.              FailurePoint53:
  1389.                 DisposeBitmap(QuadButtonSelectedBits);
  1390.                 goto FailurePoint52;
  1391.             }
  1392.         FlatButtonSelectedBits = MakeBitmap(oFlatButtonSelected,24,24,3);
  1393.         if (FlatButtonSelectedBits == NIL)
  1394.             {
  1395.              FailurePoint54:
  1396.                 DisposeBitmap(SharpButtonSelectedBits);
  1397.                 goto FailurePoint53;
  1398.             }
  1399.         NaturalButtonSelectedBits = MakeBitmap(oNaturalButtonSelected,24,24,3);
  1400.         if (NaturalButtonSelectedBits == NIL)
  1401.             {
  1402.              FailurePoint55:
  1403.                 DisposeBitmap(FlatButtonSelectedBits);
  1404.                 goto FailurePoint54;
  1405.             }
  1406.         NoteVsRestButtonSelectedBits = MakeBitmap(oNoteVsRestButtonSelected,24,24,3);
  1407.         if (NoteVsRestButtonSelectedBits == NIL)
  1408.             {
  1409.              FailurePoint56:
  1410.                 DisposeBitmap(NaturalButtonSelectedBits);
  1411.                 goto FailurePoint55;
  1412.             }
  1413.         RestVsNoteButtonSelectedBits = MakeBitmap(oRestVsNoteButtonSelected,24,24,3);
  1414.         if (RestVsNoteButtonSelectedBits == NIL)
  1415.             {
  1416.              FailurePoint57:
  1417.                 DisposeBitmap(NoteVsRestButtonSelectedBits);
  1418.                 goto FailurePoint56;
  1419.             }
  1420.         NoDotButtonSelectedBits = MakeBitmap(oNoDotButtonSelected,24,24,3);
  1421.         if (NoDotButtonSelectedBits == NIL)
  1422.             {
  1423.              FailurePoint58:
  1424.                 DisposeBitmap(RestVsNoteButtonSelectedBits);
  1425.                 goto FailurePoint57;
  1426.             }
  1427.         YesDotButtonSelectedBits = MakeBitmap(oYesDotButtonSelected,24,24,3);
  1428.         if (YesDotButtonSelectedBits == NIL)
  1429.             {
  1430.              FailurePoint59:
  1431.                 DisposeBitmap(NoDotButtonSelectedBits);
  1432.                 goto FailurePoint58;
  1433.             }
  1434.         Div1ButtonSelectedBits = MakeBitmap(oDiv1ButtonSelected,24,24,3);
  1435.         if (Div1ButtonSelectedBits == NIL)
  1436.             {
  1437.              FailurePoint60:
  1438.                 DisposeBitmap(YesDotButtonSelectedBits);
  1439.                 goto FailurePoint59;
  1440.             }
  1441.         Div3ButtonSelectedBits = MakeBitmap(oDiv3ButtonSelected,24,24,3);
  1442.         if (Div3ButtonSelectedBits == NIL)
  1443.             {
  1444.              FailurePoint61:
  1445.                 DisposeBitmap(Div1ButtonSelectedBits);
  1446.                 goto FailurePoint60;
  1447.             }
  1448.         Div5ButtonSelectedBits = MakeBitmap(oDiv5ButtonSelected,24,24,3);
  1449.         if (Div5ButtonSelectedBits == NIL)
  1450.             {
  1451.              FailurePoint62:
  1452.                 DisposeBitmap(Div3ButtonSelectedBits);
  1453.                 goto FailurePoint61;
  1454.             }
  1455.         Div7ButtonSelectedBits = MakeBitmap(oDiv7ButtonSelected,24,24,3);
  1456.         if (Div7ButtonSelectedBits == NIL)
  1457.             {
  1458.              FailurePoint63:
  1459.                 DisposeBitmap(Div5ButtonSelectedBits);
  1460.                 goto FailurePoint62;
  1461.             }
  1462.  
  1463.         ArrowButtonSelectedMouseDownBits = MakeBitmap(oArrowButtonSelectedMouseDown,24,24,3);
  1464.         if (ArrowButtonSelectedMouseDownBits == NIL)
  1465.             {
  1466.              FailurePoint64:
  1467.                 DisposeBitmap(Div7ButtonSelectedBits);
  1468.                 goto FailurePoint63;
  1469.             }
  1470.         SixtyFourthButtonSelectedMouseDownBits = MakeBitmap(oSixtyFourthButtonSelectedMouseDown,24,24,3);
  1471.         if (SixtyFourthButtonSelectedMouseDownBits == NIL)
  1472.             {
  1473.              FailurePoint65:
  1474.                 DisposeBitmap(ArrowButtonSelectedMouseDownBits);
  1475.                 goto FailurePoint64;
  1476.             }
  1477.         ThirtySecondButtonSelectedMouseDownBits = MakeBitmap(oThirtySecondButtonSelectedMouseDown,24,24,3);
  1478.         if (ThirtySecondButtonSelectedMouseDownBits == NIL)
  1479.             {
  1480.              FailurePoint66:
  1481.                 DisposeBitmap(SixtyFourthButtonSelectedMouseDownBits);
  1482.                 goto FailurePoint65;
  1483.             }
  1484.         SixteenthButtonSelectedMouseDownBits = MakeBitmap(oSixteenthButtonSelectedMouseDown,24,24,3);
  1485.         if (SixteenthButtonSelectedMouseDownBits == NIL)
  1486.             {
  1487.              FailurePoint67:
  1488.                 DisposeBitmap(ThirtySecondButtonSelectedMouseDownBits);
  1489.                 goto FailurePoint66;
  1490.             }
  1491.         EighthButtonSelectedMouseDownBits = MakeBitmap(oEighthButtonSelectedMouseDown,24,24,3);
  1492.         if (EighthButtonSelectedMouseDownBits == NIL)
  1493.             {
  1494.              FailurePoint68:
  1495.                 DisposeBitmap(SixteenthButtonSelectedMouseDownBits);
  1496.                 goto FailurePoint67;
  1497.             }
  1498.         QuarterButtonSelectedMouseDownBits = MakeBitmap(oQuarterButtonSelectedMouseDown,24,24,3);
  1499.         if (QuarterButtonSelectedMouseDownBits == NIL)
  1500.             {
  1501.              FailurePoint69:
  1502.                 DisposeBitmap(EighthButtonSelectedMouseDownBits);
  1503.                 goto FailurePoint68;
  1504.             }
  1505.         HalfButtonSelectedMouseDownBits = MakeBitmap(oHalfButtonSelectedMouseDown,24,24,3);
  1506.         if (HalfButtonSelectedMouseDownBits == NIL)
  1507.             {
  1508.              FailurePoint70:
  1509.                 DisposeBitmap(QuarterButtonSelectedMouseDownBits);
  1510.                 goto FailurePoint69;
  1511.             }
  1512.         WholeButtonSelectedMouseDownBits = MakeBitmap(oWholeButtonSelectedMouseDown,24,24,3);
  1513.         if (WholeButtonSelectedMouseDownBits == NIL)
  1514.             {
  1515.              FailurePoint71:
  1516.                 DisposeBitmap(HalfButtonSelectedMouseDownBits);
  1517.                 goto FailurePoint70;
  1518.             }
  1519.         DoubleButtonSelectedMouseDownBits = MakeBitmap(oDoubleButtonSelectedMouseDown,24,24,3);
  1520.         if (DoubleButtonSelectedMouseDownBits == NIL)
  1521.             {
  1522.              FailurePoint72:
  1523.                 DisposeBitmap(WholeButtonSelectedMouseDownBits);
  1524.                 goto FailurePoint71;
  1525.             }
  1526.         QuadButtonSelectedMouseDownBits = MakeBitmap(oQuadButtonSelectedMouseDown,24,24,3);
  1527.         if (QuadButtonSelectedMouseDownBits == NIL)
  1528.             {
  1529.              FailurePoint73:
  1530.                 DisposeBitmap(DoubleButtonSelectedMouseDownBits);
  1531.                 goto FailurePoint72;
  1532.             }
  1533.         SharpButtonSelectedMouseDownBits = MakeBitmap(oSharpButtonSelectedMouseDown,24,24,3);
  1534.         if (SharpButtonSelectedMouseDownBits == NIL)
  1535.             {
  1536.              FailurePoint74:
  1537.                 DisposeBitmap(QuadButtonSelectedMouseDownBits);
  1538.                 goto FailurePoint73;
  1539.             }
  1540.         FlatButtonSelectedMouseDownBits = MakeBitmap(oFlatButtonSelectedMouseDown,24,24,3);
  1541.         if (FlatButtonSelectedMouseDownBits == NIL)
  1542.             {
  1543.              FailurePoint75:
  1544.                 DisposeBitmap(SharpButtonSelectedMouseDownBits);
  1545.                 goto FailurePoint74;
  1546.             }
  1547.         NaturalButtonSelectedMouseDownBits = MakeBitmap(oNaturalButtonSelectedMouseDown,24,24,3);
  1548.         if (NaturalButtonSelectedMouseDownBits == NIL)
  1549.             {
  1550.              FailurePoint76:
  1551.                 DisposeBitmap(FlatButtonSelectedMouseDownBits);
  1552.                 goto FailurePoint75;
  1553.             }
  1554.         NoteVsRestButtonSelectedMouseDownBits = MakeBitmap(oNoteVsRestButtonSelectedMouseDown,24,24,3);
  1555.         if (NoteVsRestButtonSelectedMouseDownBits == NIL)
  1556.             {
  1557.              FailurePoint77:
  1558.                 DisposeBitmap(NaturalButtonSelectedMouseDownBits);
  1559.                 goto FailurePoint76;
  1560.             }
  1561.         RestVsNoteButtonSelectedMouseDownBits = MakeBitmap(oRestVsNoteButtonSelectedMouseDown,24,24,3);
  1562.         if (RestVsNoteButtonSelectedMouseDownBits == NIL)
  1563.             {
  1564.              FailurePoint78:
  1565.                 DisposeBitmap(NoteVsRestButtonSelectedMouseDownBits);
  1566.                 goto FailurePoint77;
  1567.             }
  1568.         NoDotButtonSelectedMouseDownBits = MakeBitmap(oNoDotButtonSelectedMouseDown,24,24,3);
  1569.         if (NoDotButtonSelectedMouseDownBits == NIL)
  1570.             {
  1571.              FailurePoint79:
  1572.                 DisposeBitmap(RestVsNoteButtonSelectedMouseDownBits);
  1573.                 goto FailurePoint78;
  1574.             }
  1575.         YesDotButtonSelectedMouseDownBits = MakeBitmap(oYesDotButtonSelectedMouseDown,24,24,3);
  1576.         if (YesDotButtonSelectedMouseDownBits == NIL)
  1577.             {
  1578.              FailurePoint80:
  1579.                 DisposeBitmap(NoDotButtonSelectedMouseDownBits);
  1580.                 goto FailurePoint79;
  1581.             }
  1582.         Div1ButtonSelectedMouseDownBits = MakeBitmap(oDiv1ButtonSelectedMouseDown,24,24,3);
  1583.         if (Div1ButtonSelectedMouseDownBits == NIL)
  1584.             {
  1585.              FailurePoint81:
  1586.                 DisposeBitmap(YesDotButtonSelectedMouseDownBits);
  1587.                 goto FailurePoint80;
  1588.             }
  1589.         Div3ButtonSelectedMouseDownBits = MakeBitmap(oDiv3ButtonSelectedMouseDown,24,24,3);
  1590.         if (Div3ButtonSelectedMouseDownBits == NIL)
  1591.             {
  1592.              FailurePoint82:
  1593.                 DisposeBitmap(Div1ButtonSelectedMouseDownBits);
  1594.                 goto FailurePoint81;
  1595.             }
  1596.         Div5ButtonSelectedMouseDownBits = MakeBitmap(oDiv5ButtonSelectedMouseDown,24,24,3);
  1597.         if (Div5ButtonSelectedMouseDownBits == NIL)
  1598.             {
  1599.              FailurePoint83:
  1600.                 DisposeBitmap(Div3ButtonSelectedMouseDownBits);
  1601.                 goto FailurePoint82;
  1602.             }
  1603.         Div7ButtonSelectedMouseDownBits = MakeBitmap(oDiv7ButtonSelectedMouseDown,24,24,3);
  1604.         if (Div7ButtonSelectedMouseDownBits == NIL)
  1605.             {
  1606.              FailurePoint84:
  1607.                 DisposeBitmap(Div5ButtonSelectedMouseDownBits);
  1608.                 goto FailurePoint83;
  1609.             }
  1610.         CommandButtonBits = MakeBitmap(oCommandButton,24,24,3);
  1611.         if (CommandButtonBits == NIL)
  1612.             {
  1613.              FailurePoint85:
  1614.                 DisposeBitmap(Div7ButtonSelectedMouseDownBits);
  1615.                 goto FailurePoint84;
  1616.             }
  1617.         CommandButtonMouseDownBits = MakeBitmap(oCommandButtonMouseDown,24,24,3);
  1618.         if (CommandButtonMouseDownBits == NIL)
  1619.             {
  1620.              FailurePoint86:
  1621.                 DisposeBitmap(CommandButtonBits);
  1622.                 goto FailurePoint85;
  1623.             }
  1624.         CommandButtonSelectedBits = MakeBitmap(oCommandButtonSelected,24,24,3);
  1625.         if (CommandButtonSelectedBits == NIL)
  1626.             {
  1627.              FailurePoint87:
  1628.                 DisposeBitmap(CommandButtonMouseDownBits);
  1629.                 goto FailurePoint86;
  1630.             }
  1631.         CommandButtonSelectedMouseDownBits = MakeBitmap(oCommandButtonSelectedMouseDown,24,24,3);
  1632.         if (CommandButtonSelectedMouseDownBits == NIL)
  1633.             {
  1634.              FailurePoint88:
  1635.                 DisposeBitmap(CommandButtonSelectedBits);
  1636.                 goto FailurePoint87;
  1637.             }
  1638.         return True;
  1639.     }
  1640.  
  1641.  
  1642. void                                CleanupNoteButtonImages(void)
  1643.     {
  1644.         ERROR(!Initialized,PRERR(ForceAbort,"CleanupNoteButtonImages:  not initialized"));
  1645.         EXECUTE(Initialized = False;)
  1646.         DisposeBitmap(ArrowButtonBits);
  1647.         DisposeBitmap(SixtyFourthButtonBits);
  1648.         DisposeBitmap(ThirtySecondButtonBits);
  1649.         DisposeBitmap(SixteenthButtonBits);
  1650.         DisposeBitmap(EighthButtonBits);
  1651.         DisposeBitmap(QuarterButtonBits);
  1652.         DisposeBitmap(HalfButtonBits);
  1653.         DisposeBitmap(WholeButtonBits);
  1654.         DisposeBitmap(DoubleButtonBits);
  1655.         DisposeBitmap(QuadButtonBits);
  1656.         DisposeBitmap(SharpButtonBits);
  1657.         DisposeBitmap(FlatButtonBits);
  1658.         DisposeBitmap(NaturalButtonBits);
  1659.         DisposeBitmap(NoteVsRestButtonBits);
  1660.         DisposeBitmap(RestVsNoteButtonBits);
  1661.         DisposeBitmap(NoDotButtonBits);
  1662.         DisposeBitmap(YesDotButtonBits);
  1663.         DisposeBitmap(Div1ButtonBits);
  1664.         DisposeBitmap(Div3ButtonBits);
  1665.         DisposeBitmap(Div5ButtonBits);
  1666.         DisposeBitmap(Div7ButtonBits);
  1667.         DisposeBitmap(CommandButtonBits);
  1668.  
  1669.         DisposeBitmap(ArrowButtonMouseDownBits);
  1670.         DisposeBitmap(SixtyFourthButtonMouseDownBits);
  1671.         DisposeBitmap(ThirtySecondButtonMouseDownBits);
  1672.         DisposeBitmap(SixteenthButtonMouseDownBits);
  1673.         DisposeBitmap(EighthButtonMouseDownBits);
  1674.         DisposeBitmap(QuarterButtonMouseDownBits);
  1675.         DisposeBitmap(HalfButtonMouseDownBits);
  1676.         DisposeBitmap(WholeButtonMouseDownBits);
  1677.         DisposeBitmap(DoubleButtonMouseDownBits);
  1678.         DisposeBitmap(QuadButtonMouseDownBits);
  1679.         DisposeBitmap(SharpButtonMouseDownBits);
  1680.         DisposeBitmap(FlatButtonMouseDownBits);
  1681.         DisposeBitmap(NaturalButtonMouseDownBits);
  1682.         DisposeBitmap(NoteVsRestButtonMouseDownBits);
  1683.         DisposeBitmap(RestVsNoteButtonMouseDownBits);
  1684.         DisposeBitmap(NoDotButtonMouseDownBits);
  1685.         DisposeBitmap(YesDotButtonMouseDownBits);
  1686.         DisposeBitmap(Div1ButtonMouseDownBits);
  1687.         DisposeBitmap(Div3ButtonMouseDownBits);
  1688.         DisposeBitmap(Div5ButtonMouseDownBits);
  1689.         DisposeBitmap(Div7ButtonMouseDownBits);
  1690.         DisposeBitmap(CommandButtonMouseDownBits);
  1691.  
  1692.         DisposeBitmap(ArrowButtonSelectedBits);
  1693.         DisposeBitmap(SixtyFourthButtonSelectedBits);
  1694.         DisposeBitmap(ThirtySecondButtonSelectedBits);
  1695.         DisposeBitmap(SixteenthButtonSelectedBits);
  1696.         DisposeBitmap(EighthButtonSelectedBits);
  1697.         DisposeBitmap(QuarterButtonSelectedBits);
  1698.         DisposeBitmap(HalfButtonSelectedBits);
  1699.         DisposeBitmap(WholeButtonSelectedBits);
  1700.         DisposeBitmap(DoubleButtonSelectedBits);
  1701.         DisposeBitmap(QuadButtonSelectedBits);
  1702.         DisposeBitmap(SharpButtonSelectedBits);
  1703.         DisposeBitmap(FlatButtonSelectedBits);
  1704.         DisposeBitmap(NaturalButtonSelectedBits);
  1705.         DisposeBitmap(NoteVsRestButtonSelectedBits);
  1706.         DisposeBitmap(RestVsNoteButtonSelectedBits);
  1707.         DisposeBitmap(NoDotButtonSelectedBits);
  1708.         DisposeBitmap(YesDotButtonSelectedBits);
  1709.         DisposeBitmap(Div1ButtonSelectedBits);
  1710.         DisposeBitmap(Div3ButtonSelectedBits);
  1711.         DisposeBitmap(Div5ButtonSelectedBits);
  1712.         DisposeBitmap(Div7ButtonSelectedBits);
  1713.         DisposeBitmap(CommandButtonSelectedBits);
  1714.  
  1715.         DisposeBitmap(ArrowButtonSelectedMouseDownBits);
  1716.         DisposeBitmap(SixtyFourthButtonSelectedMouseDownBits);
  1717.         DisposeBitmap(ThirtySecondButtonSelectedMouseDownBits);
  1718.         DisposeBitmap(SixteenthButtonSelectedMouseDownBits);
  1719.         DisposeBitmap(EighthButtonSelectedMouseDownBits);
  1720.         DisposeBitmap(QuarterButtonSelectedMouseDownBits);
  1721.         DisposeBitmap(HalfButtonSelectedMouseDownBits);
  1722.         DisposeBitmap(WholeButtonSelectedMouseDownBits);
  1723.         DisposeBitmap(DoubleButtonSelectedMouseDownBits);
  1724.         DisposeBitmap(QuadButtonSelectedMouseDownBits);
  1725.         DisposeBitmap(SharpButtonSelectedMouseDownBits);
  1726.         DisposeBitmap(FlatButtonSelectedMouseDownBits);
  1727.         DisposeBitmap(NaturalButtonSelectedMouseDownBits);
  1728.         DisposeBitmap(NoteVsRestButtonSelectedMouseDownBits);
  1729.         DisposeBitmap(RestVsNoteButtonSelectedMouseDownBits);
  1730.         DisposeBitmap(NoDotButtonSelectedMouseDownBits);
  1731.         DisposeBitmap(YesDotButtonSelectedMouseDownBits);
  1732.         DisposeBitmap(Div1ButtonSelectedMouseDownBits);
  1733.         DisposeBitmap(Div3ButtonSelectedMouseDownBits);
  1734.         DisposeBitmap(Div5ButtonSelectedMouseDownBits);
  1735.         DisposeBitmap(Div7ButtonSelectedMouseDownBits);
  1736.         DisposeBitmap(CommandButtonSelectedMouseDownBits);
  1737.     }
  1738.